<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        let obj1 = new Object();
        let obj2 = obj1;
        obj1.name = "test";
        console.log(obj2.name);
        obj1.name = "test2";
        console.log(obj1.name);
        console.log(obj2.name);
    </script>
</head>
<body>
    
</body>
</html>